package com.lin.fengxiu.service;

import com.lin.fengxiu.model.GridCategory;
import com.lin.fengxiu.repository.GridCategoryRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName CategoryService
 * @Description TODO
 * @Author wushaopei
 * @Date 2021/3/17 6:34
 * @Version 1.0
 */
@Service
public class GridCategoryService {

    @Autowired
    private GridCategoryRepository gridCtegoryRepository;

    public List<GridCategory> getGridCategoryList(){
         return gridCtegoryRepository.findAll();
    }

}
